<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="./public/admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="./public/admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="./public/admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="./public/admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<form action="" method="post">
		
		<table class="table table-hover">
			<tr>
				<td>编辑货品</td>
				<td>
					<select name="color">
						<option value="0">请选择</option>
						{{foreach from="$allData" key="$k" value="$v"}}
							{{if value="$v['type_attr_taid']==$groupData[0]['type_attr_taid']" }}
						<option value="{{$v['gaid']}}" {{if value="$v['gaid']==$thisData['combine'][0]"}} selected {{endif}}>{{$v['ganame']}}</option>
							{{endif}}
						{{endforeach}}
					</select>
				</td>
				<td>
					<select name="size">
						<option value="0">请选择</option>
						{{foreach from="$allData" key="$k" value="$v"}}
							{{if value="$v['type_attr_taid']==$groupData[1]['type_attr_taid']" }}
						<option value="{{$v['gaid']}}" {{if value="$v['gaid']==$thisData['combine'][1]"}} selected {{endif}}>{{$v['ganame']}}</option>
							{{endif}}
						{{endforeach}}
					</select>
				</td>
				<td>
					<input type="text" name="inventory" id="" value="{{$thisData['inventory']}}" />
				</td>
				<td>
					<input type="text" name="number" id="" value="{{$thisData['number']}}" />
				</td>
				<td>
				</td>
			</tr>
		</table>
		<input type="hidden" name="goods_gid" id="" value="{{Q('get.gid',0,'intval')}}" />
		<input type="submit" id="" name="" value="修改完成"/>
		</form>
	</body>
</html>
